package cn.webrx;

public class Su1 {
    public static void main(String[] args) {
        //StringBu
        //StringBuffer
        //String

        StringBuilder sbu = new StringBuilder("hello");
        sbu.append("abc");
        //sbu.delete()
        //sbu.replace()
        System.out.println(sbu);
        sbu.reverse();
        System.out.println(sbu);
        //System.out.println(sbu+"ok");

        String s = "java123";
        System.out.println(s);

        String ss = "";
        for(int i=0;i<s.length();i++){
            ss = s.charAt(i) + ss;
        }
        System.out.println(ss);
         //System.out.println(new StringBuilder(s).reverse());

        System.out.println(new StringBuilder("hello").delete(0,2));


    }
}
